Skip to main content

Carry Flag - Overflow Flag

You will solve this exercises starting from the of.asm, cf.asm and cf_of.asm files located in the drills/tasks/cf-of directory.

Using the add instruction on the al register:

  1. Set the OF flag

  2. Set the CF flag

  3. Set both flags simultaneously.

If you're having difficulties solving this exercise, go through this reading material.